package router

import (
	"fx_swift_boss/internal/controller"
	"fx_swift_boss/pkg/middleware"
)

func IfcGateAgentRouter() {
	ifcGateAgentApiVer := miniApiVer.Group("ifcgateAgent", middleware.CheckAuth())
	{
		ifcGateAgentApiVer.GET("getIfcGateAgentDetails", controller.GetIfcGateAgentDetails)
		ifcGateAgentApiVer.POST("ifcGateAgentApplyReview", controller.IfcGateAgentApplyReview)
		ifcGateAgentApiVer.POST("ifcGateAgentApproval", controller.IfcGateAgentApproval)
		ifcGateAgentApiVer.POST("operatorIfcGateAgentReview", controller.OperatorIfcGateAgentReview)
		ifcGateAgentApiVer.GET("getMerChantAgentCompanyInfo", controller.GetMerChantAgentCompanyInfo)
		ifcGateAgentApiVer.GET("getAgentAuditNums", controller.GetAgentAuditNums)
	}
}
